angular.module('CrypPw.controllers', []).
  controller('CrypPwCtrl_Main', function($scope, crypPwApiService) {
    var colorArray = ['blue','orange','green','red'];
    $scope.algoList = {};
    $scope.getRandomSpan = colorArray[Math.floor((Math.random() * 4))];
    crypPwApiService.getList().success(function (response) {
      $scope.algoList = response;
    });
});